package com.jy.rhin.infra.cda.dao.impl;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.jy.rhin.infra.cda.dao.ChanQianSFDao;
import com.jy.rhin.infra.cda.mapper.ChanQianSFMapper;
import com.jy.rhin.infra.cda.ycf.ChanQianSFVo;
import com.jy.rhin.infra.cda.ycf.YunChanFBJKVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ChanQianSFDaoImpl implements ChanQianSFDao {
	@Resource
	private ChanQianSFMapper chanQianSFMapper;

	@Override
	public ChanQianSFVo getByBH(String fuWuJGBH, String bh) {
		QueryWrapper<ChanQianSFVo> queryWrapper = new QueryWrapper<ChanQianSFVo>();
		queryWrapper.eq("a.CHANQIANSFJLBH", bh);
		return chanQianSFMapper.getOne(queryWrapper);
	}

	@Override
	public YunChanFBJKVo getBJK(String yunChanFWYBS) {
		return chanQianSFMapper.getBJK(yunChanFWYBS);
	}

}
